package com.dobbinsoft.iotechn.ability.openapi;

import com.dobbinsoft.iotechn.ability.model.AbilityContext;
import com.dobbinsoft.iotechn.ability.model.DeviceOpenApiDocument;
import com.dobbinsoft.iotechn.ability.model.DeviceOpenApiResultModel;

import java.util.Set;

/**
 * Description:
 * User: rize
 * Date: 2020/7/6
 * Time: 20:43
 */
public interface IOpenApiManager {

    /**
     * 对上层服务提供的调用唯一接口
     * @param _gp
     * @param _mt
     * @param abilityContext
     * @Param invokeId
     * @return
     */
    public DeviceOpenApiResultModel invoke(String _gp, String _mt, String invokeId, AbilityContext abilityContext);

    public Set<DeviceOpenApiDocument> listDoc();

}
